/*base setting*/
body {
  background-color: #efefef;
}

a {
    color: #985d3e;
    outline: none !important;
}

a {
    text-decoration: none;
    -webkit-transition: color .3s ease,background .3s ease;
    -moz-transition: color .3s ease,background .3s ease;
    -o-transition: color .3s ease,background .3s ease;
    transition: color .3s ease,background .3s ease;
}

a:hover, a:visited, a:link {
  color: #7f4b2f;
  text-decoration: none;
}

a, input, button, textarea {
    outline: none;
}
address, caption, cite, code, dfn, em, i, strong, th, var, optgroup {
    font-style: normal;
    font-weight: normal;
}
li { list-style: none; }

/*base setting end*/
.header {
  background: #f7f8ed;
  box-shadow: 1.5px 2.598px 9px 0 rgba(0,0,0,0.054);
  position: relative;
  border-bottom: 1px solid #d3cdca;
  margin-bottom: 20px;
}

.header .navbar-brand {
    display: block;
    height: 60px;
    padding: 21px 10px;
    max-width: 130px;
}

.navbar-nav>li>a {
    padding: 22px 25px !important;
    font-size: 16px;
    color: #654f41;
}

.index .navbar-form {
    margin: 13px 0 13px 20px;
}

.navbar-form .form-group {
    position: relative;
}

.navbar-form .button {
    position: absolute;
    height: 38px;
    width: 40px;
    top: 0;
    left: 0;
    font-size: 18px;
    color: #b3b3b3;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border: none;
    background: none;
    outline: none;
}

.navbar-form .form-control {
    width: 160px;
    height: 38px;
    padding-left: 35px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 20px;
    line-height: 28px;
}

.nav.nav-login>li {
    float: left;
}

.nav.nav-login>li>a {
    padding: 22px 15px;
    color: #654f41;
}

/*banner焦点图开始*/
.banner-container {
  height: 490px;
}

#myCarousel {
  background: #fff;  
}
.active .user-res {
    height: 1.5em-;
    opacity: 1;
    filter: Alpha(Opacity=100);
}
.active .user-pic {
    width: 72px;
    height: 72px;
    opacity: 1;
    filter: Alpha(Opacity=100);
    background-image: -webkit-linear-gradient(top,#fff,#999);
    background-image: -moz-linear-gradient(top,#fff,#999);
    background-image: linear-gradient(top,#fff,#999);
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#FFFFFFFF',EndColorStr='#FF999999');
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    -ms-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.user-favs {
    display: inline-block;
    vertical-align: top;
    padding-right: 8px;
    border-right: 1px solid #ddd;
    width: 50%;
    text-align: right;
    line-height: 1;
    vertical-align: middle;
}
.user-follows {
  display: inline-block;
  width: 50%;
  text-align: left;
  padding-left: 8px;
}
.user-res .fa {
  padding-right: 4px;
  color: red;
}

.height-full {
  height: 100%;
}
.drawer-intro {
  display: block;
  text-align: center;
}
#banner-index {
  height: 130px;
  width: 100%;
  margin-left: -50%;
  top:0px;
  padding-top:10px;
  background: none;
}

.user-doulist-item {
    display: inline-block;
    vertical-align: top;
    top: 152px;
    font-size: 14px;
    font-weight: 800;
    word-wrap: break-word;
}

.user-doulist-itemset {
    display: block;
    /*width: 212px;
    height: 212px;*/
    border: 1px solid #ddd;
    padding: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    white-space: normal;
    text-align: justify;
    font-size: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
    -ms-box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
}

.user-doulist-itemset img {
    width: 50%;
    height: 50%;
    margin-bottom: 2px;
    float: left;
}

/*二级导航开始*/
#sec-nav {
  border: 1px solid #dfdfdf;
  background: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  -moz-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  -ms-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  text-align: center;
}

#sec-nav ul li:first-child {
    border-top: 0;
}

#sec-nav ul li {
    font-size: 14px;
    line-height: 36px;
    border-top: 1px solid #eee;
}

#sec-nav ul>li>a {
  padding: 2px 10px;
}

#sec-nav a {
  color: #333;
}

#sec-nav a:hover {
  color:#7f4b2f;
}

#sec-nav .nav>li>a:focus, #sec-nav .nav>li>a:hover {
  background: none;
}

#sec-nav .nav-stacked>li+li {
  margin-top: 0px;
}

#myCarousel .carousel-control {
  background: none;
  font-size: 160px;
  line-height: 370px;
}

.carousel-indicators li {
    display: inline-block;
    width: 33.3%;
    height: 80px;
    margin: 0px;
    text-indent: 0px;
    cursor: pointer;
    background-color: #000\9;
    background-color: rgba(0,0,0,0);
    border: 1px solid #fff;
    border-radius: 0px;
}

.carousel-indicators .active {
    width: 33.3%;
    height: 80px;
    margin: 0;
    background-color: #fff;
}

.user-info a {
  display: block;
  color: #4a4a4a;
  text-decoration: none;
  overflow: hidden;
}

.user-info a img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.carousel-indicators {
  top: 20px;
  width: 90%;
  margin-left: -45%;
  height: 160px;
  background: #eee;
}

span.user-name {
  display: block;
}

/*内容开始*/
.recommend .section-body {
    padding-top: 45px;
}

.recommend .food_con>div {
    /*padding: 0 28px 23px;*/
    height: 380px;
    background: url("../images/classroom-bg.png") 32px 5px no-repeat-;
}

.food-list {
  height: 380px;
  background: #fff;
  overflow: hidden;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}

.section-header {
    text-align: center;
    margin-top: 20px;
}

.page-story-filter {
    display: inline-block;
    vertical-align: top;
    color: #666;
    border: 1px solid #dcd6d3;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 0;
}

.btn-explore-only.checked {
    margin-left: -1px;
    box-shadow: 1px 1px 2px #ccc;
}

.btn-normal.checked {
    background-image: -webkit-linear-gradient(top,#fefefe,#f1f1f1);
    background-image: -moz-linear-gradient(top,#fefefe,#f1f1f1);
    background-image: linear-gradient(top,#fefefe,#f1f1f1);
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#FFFEFEFE',EndColorStr='#FFF1F1F1');
    color: #555;
    border: 1px solid #bebebe;
    position: relative;
    margin-top: -1px;
}

.btn-normal {
    display: inline-block;
    line-height: 1.25;
    vertical-align: middle;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    padding: 7px 17px;
    font-size: 14px;
    background-color: #f5f3f2;
    color: #777;
}

.btn-normal, :link.btn-normal, :visited.btn-normal, .btn-buy, :link.btn-buy, :visited.btn-buy {
    color: #59493f;
    background: #f9f9f9;
    text-decoration: none;
}

.recommend .food_con .img {
    position: relative;
}
.recommend .food_con .price-icon {
    display: block;
    position: absolute;
    top: 10px;
    left: -10px;
    height: 50px;
    background: url("../images/room-icon-price.png") center center no-repeat;
    width: 100px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
}

.recommend .food_con .price-icon.free {
    background: url("../images/room-icon-free.png") center center no-repeat;
    width: 80px;
}

.recommend .food_con .img img {
    width: 100%;
}

.recommend .food_con h3 {
    position: relative;
    color: #444;
    margin: 10px 0 20px 0;
    padding: 0 12px;
    font-size: 14px;
    line-height: 20px;
   /* overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
}

.recommend .food_con .info {
    color: #999;
    font-size: 12px;
    padding: 0 5px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-box {
    padding-bottom: 8px;
    margin-left: 13px;
    margin-right: 13px;
}

.author-box .author-avatar-link {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    border-radius: 12px;
    vertical-align: middle;
    margin-right: 5px;
}

.story-quote {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    padding-bottom: 0;
}

.quote {
    word-break: break-all;
}

.quote {
    padding-left: 10px;
    padding-right: 10px;
    background: url(http://img3.douban.com/f/dongxi/3a328b311ee673f2ec1118e20d440e16ba2fcb6a/pics/dongxi/card_quoter_ie.png) no-repeat right center;
    background: rgba(1,1,1,0) url(http://img3.douban.com/f/dongxi/ef9958c9fcfaa133c6bf5e8f2666516e89ab99d1/pics/dongxi/card_quoter.v1.svg) no-repeat right center;
    background-size: 8px auto;
}

.story-info {
    color: #c6c6c6;
    line-height: 1;
    position: absolute;
    bottom: 2px;
    left: 6px;
    right: 20px;
}

.stats-list {
    padding-left: 24px;
    font-size: 0;
    overflow: hidden;
}

.stats-list li {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    margin-right: 10px;
    line-height: 13px;
}

.stats-list li:last-child {
    margin-right: 0;
}
/*内容结束*/

/* footer 开始*/
#footer {
    color: #999;
    padding-top: 6px;
    margin: 40px 0 20px 0;
    overflow: hidden;
    zoom: 1;
    border-top: 1px dashed #ddd;
}

#footer a:link, #footer a:visited {
    color: #654f41;
}
/* footer 结束*/
/* login开始 */
html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal {
    -webkit-perspective: 800px;
    perspective: 800px;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.fade.in {
    opacity: 1;
}

html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal .modal-dialog_wrapper {
    overflow: visible;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform .4s;
    transition: transform .4s;
}

html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal .modal-dialog_wrapper.is-flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal .modal-dialog--back {
    -webkit-transform: translate3d(0, 0, 0) rotateY(180deg);
    transform: translate3d(0, 0, 0) rotateY(180deg);
}

html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal .modal-dialog {
    max-width: 720px;
}

html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal .modal-dialog {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: block !important;
    left: 10px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    right: 10px;
    top: 0;
}

html.csstransforms3d:not(.ie):not(.ucbrowser) #login-modal .modal-dialog--back {
    -webkit-transform: translate3d(0, 0, 0) rotateY(180deg);
    transform: translate3d(0, 0, 0) rotateY(180deg);
}

#login-modal .modal-content, #find_password_modal .modal-content {
    border-radius: 15px;
    padding-left: 30px;
    padding-right: 30px;
}

#login-modal .modal-content, #find_password_modal .modal-content {
    background-color: #f6f6f6;
    padding-top: 25px;
}

#login-modal .modal-content>.close, #find_password_modal .modal-content>.close {
    float: none;
    height: 30px;
    position: absolute;
    right: 5px;
    text-align: center;
    top: 4px;
    width: 30px;
}

#login-modal .modal-body, #find_password_modal .modal-body {
    padding: 0;
}

.modal form {
    margin: 0;
}

#login-modal legend, #find_password_modal legend {
    text-align: left;
}

#login-modal legend, #find_password_modal legend {
    border-bottom: 0;
    color: #9a9a9a;
    font-size: 18px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
  #signin_form .form-main {
    min-height: 90px;
  }

  #login-modal .form-main, #find_password_modal .form-main {
      margin-left: -15px;
      margin-right: -15px;
      margin-left: -5px;
      margin-right: -5px;
  }

  #login-modal .form-main .form-group, #find_password_modal .form-main .form-group {
      padding-left: 5px;
      padding-right: 5px;
  }

  #login-modal .form-group.addon, #find_password_modal .form-group.addon {
      text-align: center;
  }

  #login-modal .form-group.addon .checkbox, #login-modal .form-group.addon>a, #find_password_modal .form-group.addon .checkbox, #find_password_modal .form-group.addon>a {
      display: inline-block;
      float: none !important;
      padding-left: 30px;
      padding-right: 30px;
      width: 160px;
  }

  #login-modal .auth, #find_password_modal .auth {
      margin-bottom: 20px;
      margin-top: 20px;
  }

  #login-modal .auth>h6, #find_password_modal .auth>h6 {
      display: inline-block;
      line-height: 40px;
      margin: 0 30px 0 0;
      color: #9a9a9a;
      font-size: 14px;
  }

  #login-modal .auth>p, #find_password_modal .auth>p {
      display: inline-block;
      margin-bottom: 0px;
  }

  #login-modal .section-footer, #find_password_modal .section-footer {
      border-top: 1px solid #ccc;
  }

  #signup_form .form-main {
      min-height: 90px;
  }

  .form-group.col-sm-6.signup_form-captcha {
      padding-left: 5px;
      padding-right: 5px;
  }
}

#login-modal .form-group .form-control[type="text"], #login-modal .form-group .form-control[type="email"], #login-modal .form-group .form-control[type="password"], #find_password_modal .form-group .form-control[type="text"], #find_password_modal .form-group .form-control[type="email"], #find_password_modal .form-group .form-control[type="password"] {
    padding-right: 30px;
}

#login-modal .form-control, #find_password_modal .form-control {
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #79acd9;
    height: 44px;
    line-height: 44px;
}

#login-modal .form-group>.button--clear, #find_password_modal .form-group>.button--clear {
    background-color: #dedede;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 12px;
    width: 20px;
}

#login-modal .help-block, #find_password_modal .help-block {
    font-style: normal;
    padding: 0 12px;
}
.help-block:empty {
    display: none;
}

#login-modal .form-group.addon, #find_password_modal .form-group.addon {
    padding-bottom: 0;
    padding-left: 35px;
    padding-right: 35px;
}

#login-modal a:not(.btn):not(.comments_more):not(.editor-help-toggle), #find_password_modal a:not(.btn):not(.comments_more):not(.editor-help-toggle) {
    color: #79acd9;
}

#login-modal .form-results, #find_password_modal .form-results {
    color: #fd5a46;
    text-align: center;
}

#login-modal .form-actions, #find_password_modal .form-actions {
    text-align: center;
}

#login-modal [type="submit"], #find_password_modal [type="submit"] {
    width: 220px;
}

.btn--blue_light, .btn--blue_light:hover, .btn--blue_light:focus {
    color: #fff;
    background-color: #97ceec;
}
.btn--blue_light {
  border-radius: 15px;
  line-height: 32px;
  padding: 0 20px;
}

#login-modal .auth .btn--icon, #find_password_modal .auth .btn--icon {
    margin-right: 10px;
}

.btn--icon {
    border: none;
    padding: 0;
    height: 40px;
    line-height: 40px;
    width: 40px;
}

.btn--blue_light, .btn--blue_light:hover, .btn--blue_light:focus {
    color: #fff;
}

a.btn--blue_light {
    color: #fff;
    background-color: #97ceec;
}

.btn--icon .fa, .btn--icon .editable-buttons i, .editable-buttons .btn--icon i, .btn--icon .menu-links--primary>li .dropdown-indicator, .menu-links--primary>li .btn--icon .dropdown-indicator {
    font-size: 16px;
    margin: 0;
}

#login-modal .section-footer, #find_password_modal .section-footer {
    padding: 10px;
    text-align: center;
}

#login-modal a:not(.btn):not(.comments_more):not(.editor-help-toggle), #find_password_modal a:not(.btn):not(.comments_more):not(.editor-help-toggle) {
    color: #79acd9;
}

#login-modal .modal-flipper, #find_password_modal .modal-flipper {
    display: block;
    height: 40px;
    line-height: 40px;
    font-family: "orbitron-bold";
}

#login-modal .modal-flipper .logo, #find_password_modal .modal-flipper .logo {
    margin-left: .25em;
}

#login-modal .logo, #find_password_modal .logo {
    color: #79acd9;
}

.logo {
    color: #47b2e2;
    font-family: "orbitron-bold";
    font-style: normal;
    font-weight: normal;
}

#login-modal .modal-flipper .fa-angle-right, #find_password_modal .modal-flipper .fa-angle-right {
    margin-left: .5em;
}

#login-modal .modal-flipper .fa-angle-left, #find_password_modal .modal-flipper .fa-angle-left {
    margin-right: .5em;
}



#signup_form .signup_form-captcha .input-group-addon {
    min-width: 100px;
    border: 0;
}

.modal-backdrop.in {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
/* login 结束 */